<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<c:set var="path" value="<%=request.getContextPath()%>"></c:set>
	<form action="${path}/personas/actualizar" commandName="persona">
		<table>
            <tr>
                <td>NOMBRE</td>
                <td><input type="text" name="nombre" value="${personas.nombre}"></td>
            </tr>
            <tr>
                <td>CEDULA</td>
                <td><input type="label" name="id" value="${personas.id}" readonly></td>
            </tr>
            <tr>
                <td>EDAD</td>
                <td><input type="text" name="edad" value="${personas.edad}"></td>
            </tr>
        </table>
        <input class="button" type="submit" class="add_button" value="actualizar">
	</form>
</body>
</html>